package com.whxy02.tolearn.app.service;

import com.whxy02.tolearn.app.beans.QuestionType;

import java.util.List;

public interface QuestionTypeService extends PublicService<QuestionType>{
    public List<QuestionType> getBySubject(Integer subjectId)throws  Exception;
    public boolean notHasType(String typeName)throws Exception;
    public QuestionType getByTypeName(String typeName)throws Exception;
    public QuestionType getByTypeAndSubject(String typeName,Integer subjectId)throws Exception;
}
